package com.hzhc.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hzhc.entity.SysUserSecurity;
import com.hzhc.utils.ResultUtil;
import com.hzhc.vo.SysUserSecurityVo;
import org.apache.poi.ss.formula.functions.T;

import java.util.List;

/**
 * <p>
 * 用户安全设置 服务类
 * </p>
 *
 * @author 1
 * @since 2024-06-24
 */
public interface SysUserSecurityService extends IService<SysUserSecurity> {

    List<SysUserSecurityVo> getAllList(Page<SysUserSecurity> page, SysUserSecurityVo vo);

    ResultUtil<T> addPasswordSecurity(SysUserSecurityVo vo);

    ResultUtil<T> updatePasswordSecurity(SysUserSecurityVo vo);

    ResultUtil<T> deletePasswordSecurity(Long id);

    String checkLoginFailure(String loginname,String path,Integer flag);
    ResultUtil<T> updateSecurityStatus(SysUserSecurityVo vo);

    ResultUtil<T> checkPasswordLevel(String password);

    ResultUtil<List<SysUserSecurity>> getStrengthLevel();

}
